﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WoChu.RfClient.Entity;
using WoChu.CF.Base; 

namespace WoChu.RfClient.Duty.IFace
{
    [ServiceName(Name = "InventoryAdjustment")]
    public interface IInventoryAdjustment
    {
        [Mapping(MethodUrl = "GetLocationInventory?LocCode={0}")]
        ResultModel<List<LocationGoodsBatchInfo>> GetLocationInventory(string LocCode);

        [Mapping(MethodUrl = "UpdateLocationInventory?UserId={0}")]
        ResultModel<bool> UpdateLocationInventory(string UserId, List<LocationInventoryInfo> data);

        [Mapping(MethodUrl = "UpdateLocationInventoryStatus?LocCode={0}&BatchCode={1}&status={2}")]
        ResultModel<bool> UpdateLocationInventoryStatus(string LocCode, string BatchCode, int status);

        [Mapping(MethodUrl = "GetGoodsInventoryLstByGoodCode?GoodsCode={0}")]
        ResultModel<List<LocationInventoryInfo>> GetGoodsInventoryLstByGoodCode(string GoodsCode);
 
    }
}
